/*
 *  Copyright 2020-2025 the original author or authors.
 *  You cannot use this file unless authorized by the author.
 */

package org.ipig.commons.service.monitor;

import lombok.Data;

import java.io.Serializable;

/**
 * 批量处理完成XX主题的事件
 *
 * @author <a href="mailto:comchnts@163.com">chinats</a>
 * @version $$Id$$
 * @since 1.0
 */
@Data
public class DoneMsgsEvent implements Serializable {
    /**
     * 主题
     */
    private String topic;
    /**
     * 消息总数
     */
    private long doneMsgsTotal;
    /**
     * 开始处理的 时间戳
     */
    private long beginTimeMills;
    /**
     * 处理过程中汇报的时间戳
     */
    private long endTimeMills;
}

